﻿using System.Collections.Generic;

//
// Created by Arosy on 2021/12/11.
//

//
// Created by Arosy on 2021/12/11.
//


public class JavaThread
{
	public Stack<JavaVFrame> stack = new Stack<JavaVFrame>(); // 线程栈空间
	/**
	 * 返回栈顶元素并将其弹出
	 * @return
	 */
	public JavaVFrame getAndPop()
	{
		JavaVFrame jf = stack.Peek();
		stack.Pop();
		return jf;
	}
}